﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace ThreadDemo1
{
    class Program
    {
        static void Main(string[] args)
        {
            Kids kid = new Kids();

            Thread thread1=new Thread(new ThreadStart(kid.BoyThread));
            Thread thread2 = new Thread(new ThreadStart(kid.GirlThread));

            thread1.Start();
            thread2.Start();

           // Console.WriteLine("I am Main");

            Console.Read();

        }
    }
}
